projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26dcb6a
)
encodesymbolic: handle circle objects
author
Lapo Calamandrei
<calamandrei@gmail.com>
Wed, 21 Sep 2016 15:46:19 +0000
(17:46 +0200)
committer
Lapo Calamandrei
<calamandrei@gmail.com>
Wed, 21 Sep 2016 15:46:19 +0000
(17:46 +0200)
add circle objects to the injected style for recoloring.
Should avoid randomly colored symbolic icon bits when circles are
in the mix as in network-vpn-acquiring-symbolic for example.
gtk/encodesymbolic.c
patch
|
blob
|
history
diff --git
a/gtk/encodesymbolic.c
b/gtk/encodesymbolic.c
index 5ff5e1b9822fad5251cf03311c07f81cc4750d61..42e8d9c93648acaab76b93ce5fd8c23f611b2b1b 100644
(file)
--- a/
gtk/encodesymbolic.c
+++ b/
gtk/encodesymbolic.c
@@
-88,7
+88,7
@@
load_symbolic_svg (char *file_data, gsize file_len,
" width=\"", svg_width, "\"\n"
" height=\"", svg_height, "\">\n"
" <style type=\"text/css\">\n"
- " rect,path {\n"
+ " rect,
circle,
path {\n"
" fill: ", css_fg," !important;\n"
" }\n"
" .warning {\n"